<template>
  <div></div>
</template>
<script>
export default {
  name: 'Desk',
  created () {
    const type = this.$store.getters.userInfo.UserType
    // 当前登录用户是管理员
    if (type === '0') {
      this.$router.push({ path: '/dashboard/manageWorkplace' })
    } else {
      this.$router.push({ path: '/dashboard/workplace' })
    }
  }
}
</script>
